<?php

namespace App\Services;

use App\Models\IpAddresse;
use Slowlyo\OwlAdmin\Services\AdminService;

/**
 * 运营商IP管理
 *
 * @method IpAddresse getModel()
 * @method IpAddresse|\Illuminate\Database\Query\Builder query()
 */
class IpAddresseService extends AdminService
{
	protected string $modelName = IpAddresse::class;

	/**
	 * 添加关联
	 */
	public function addRelations($query, string $scene = 'list')
	{
		$query->with('idcnode');
	}

}
